<!--
 * @Author: zhouhua zhouh@hsmap.com
 * @Date: 2024-07-02 14:44:47
 * @LastEditors: zhouhua zhouh@hsmap.com
 * @LastEditTime: 2024-07-04 09:55:34
 * @FilePath: \fd-fireframework-web\src\views\bMap\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="wrapper">
    <Map></Map>
    <TableInfo></TableInfo>
  </div>
</template>

<script setup lang="ts">
import { centerPointAddress, circleParams, currentDatas, isFull } from './model'

import Map from './modules/map.vue'
import TableInfo from './modules/tableInfo.vue'

const route = useRoute()
localStorage.setItem('token', route.query.token as any)

onUnmounted(() => {
  // 重置状态
  isFull.value = false
  circleParams.value = undefined
  currentDatas.value = []
  centerPointAddress.value = undefined
})
</script>

<style lang="less" scoped>
.wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}
</style>
